home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
pascal
/
sys60a.zip
/
SYS60A.DOC
< prev
next >
Wrap
Text File
|
1991-03-26
|
32KB
|
941 lines
TURBO PASCAL 6.0
SYS60A.TPU
INSTALLATION GUIDE
Version 6.0a
March 26, 1991
Copyright (C) 1990-1991 Eagle Performance Software
All Rights Reserved.
_______
____|__ | (tm)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
SYSTEM Unit Installation Guide, Version 6.0a
T A B L E O F C O N T E N T S
1. INTRODUCTION . . . . . . . . . . . . . . . . . . . . . 3
Features . . . . . . . . . . . . . . . . . . . . . . 3
Philosophy . . . . . . . . . . . . . . . . . . . . . 3
Licensing . . . . . . . . . . . . . . . . . . . . . . 3
Discounts . . . . . . . . . . . . . . . . . . . . . . 4
Customer Service . . . . . . . . . . . . . . . . . . 4
ASP . . . . . . . . . . . . . . . . . . . . . . . . . 5
2. GETTING STARTED . . . . . . . . . . . . . . . . . . . . 6
Distribution Files . . . . . . . . . . . . . . . . . 6
Installation . . . . . . . . . . . . . . . . . . . . 6
3. PERFORMANCE . . . . . . . . . . . . . . . . . . . . . . 8
LongInt Math . . . . . . . . . . . . . . . . . . . . 8
Decimal / String Conversions . . . . . . . . . . . . 8
String handling . . . . . . . . . . . . . . . . . . . 8
Set Handling . . . . . . . . . . . . . . . . . . . . 9
Other Improvements . . . . . . . . . . . . . . . . . 9
Code Size . . . . . . . . . . . . . . . . . . . . . . 10
Greater Speeds . . . . . . . . . . . . . . . . . . . 10
4. SPEED TESTING . . . . . . . . . . . . . . . . . . . . . 11
Profiler . . . . . . . . . . . . . . . . . . . . . . 11
Rate Timer . . . . . . . . . . . . . . . . . . . . . 11
APPENDIX A: Application Products . . . . . . . . . . . . . 13
APPENDIX B: Revision History . . . . . . . . . . . . . . . 16
2
SYSTEM Unit Installation Guide, Version 6.0a
1. I N T R O D U C T I O N
FEATURES
Welcome to SYS60 replacement unit for Turbo Pascal 6.0!
How would you like to speed up your Turbo Pascal 6.0 programs without
changing a single line of code? You have just found the easiest way to do
it! SYS60 replaces the SYSTEM.TPU in your TURBO.TPL library with our unit
which has much faster algorithms for over 32 built-in procedures and
functions like Pos and Div. See as much as 800% increase in speed!
How can you do it? Simply run a batch file to replace your SYSTEM.TPU.
Then any program you compile will automatically have the faster algorithms
- no code to change. And you get the exact same results - only faster!
PHILOSOPHY
The RTL - Borland has been gracious enough to make the Run-Time Library
(RTL) assembler source code available to any user for their own
modifications (for a license fee of $195). There are six units specific to
TP 6.0 in the RTL and the SYSTEM unit is by far the most significant. But
why would anyone want to take the time for a critical look at this
fundamental code? Most programmers are trying to stay busy and produce
applications. But after getting a copy for ourselves, we noticed that
there were some ways that we could trim the amount of time that the CPU
spends on a number of SYSTEM routines. And if these routines can be sped
up, then your overall applications can be sped up as well - without
changing any of your source code.
The Critical Look - We decided to take whatever time it took to go back
over the SYSTEM unit to produce the fastest code possible. Here are some
of the things we considered:
. Created 16-bit transfer methods in lieu of 8-bit.
. Replaced PUSH/POP with MOV.
. Combined register/flag operations.
. Reduced routine CALLs.
. Tightened clocks in intensive loops.
. Tested for CPU in use.
. Used CPU registers in lieu of stack.
. Used pass-through conditional jumps.
. Eliminated redundant jumps.
In some routines, this would reduce the amount of code to achieve the same
operation. In others, a few extra bytes greatly increased the speed.
SYS60 is the final result of this effort.
LICENSING
Registration - These routines and the documentation have been released for
Chapter 1, Introduction Page 3
SYSTEM Unit Installation Guide, Version 6.0a
distribution as Shareware. You have been given the chance to sample the
full capability of SYS without risk! If you find that SYS is a valuable
tool, then you are expected to register. You will find a reasonable
licensing schedule found in LICENSE.LIC to meet private or commercial
needs.
Source Code - Due to Borland's License Agreement on the Run-Time
Library (RTL), we are not authorized to release source code based on the
RTL no matter what modifications we have made. So, at the current time,
the source code will not be available for release and will just be managed
by Eagle Performance Software. Please contacts us for the latest
developments.
Commercial Version - This may be our last shareware version. Future
versions will be sold commercially.
DISCOUNTS
Should you register before June 31, 1991, you will be sent an even
faster system unit than the one supplied in this archive. Plus, you will
get a 20% extra discount on our STRG61 string handling unit when you
register at the same time.
CUSTOMER SERVICE
If you have questions, comments, or suggestions, the Eagle can be contacted
by four means - (1) telephone, (2) CompuServe, (3) The Eagle BBS, or
(4) mail.
Telephone - To contact the Eagle, you can reach us by phone at
(214) 539-7855 on weekdays and Saturday from 9:00 a.m. to 7:00 p.m. CST.
CompuServe - Another means is through CompuServe. For personal contact,
Jordan Gallagher [73557,2342] or Jim LeMay [76011,217] can be reached
through CIS MAIL.
The Eagle BBS - You can also contact us on our 24-hour BBS at (214) 539-
9878, at connections of 1200/2400/9600 MNP5/V.42bis N81.
Mail - For registration or problems, please write:
Eagle Performance Software
P.O. Box 292786
Lewisville, TX 75029-2786
In your written request for resolving problems, be sure to include:
. A diskette of compilable source code of the problem.
. The Eagle product and version number.
. The computer CPU.
Chapter 1, Introduction Page 4
SYSTEM Unit Installation Guide, Version 6.0a
ASP
SYS is a shareware program conforming to the standards of the Association
of Shareware Professionals (ASP). You can get more information about ASP
by writing to:
Association of Shareware Professionals
545 Grover Road
Muskegon, MI 49442
This program is produced by a member of the Association of Shareware
Professionals (ASP). ASP wants to make sure that the shareware principle
works fo